export default {
  state: {
    navList: []
  },
  getters: {
	navFirst:state=>{
		return state.navList.filter(n=>n.ptext==null)
	},
	navSecond:state=>{
		return (a)=>state.navList.filter(n=>n.ptext===a)
	} 
	/* 
	navSecond:state=>{
		return state.navList.filter(n=>n.ptext!=null)
	}*/
  },
  mutations: {
	navListInit(state,param){
		state.navList=param
	}
  },
  actions: {
    
  }
}